package drh.bean;

public class Shoppingcar {
	 private Integer id;

	    private Integer productid;

	    private Integer userid;

	    private Integer amount;

	    private Object time;

	    private Integer isdelete;

	    private String by1;

	    private String by2;

	    private String by3;

		public Integer getId() {
			return id;
		}

		public void setId(Integer id) {
			this.id = id;
		}

		public Integer getProductid() {
			return productid;
		}

		public void setProductid(Integer productid) {
			this.productid = productid;
		}

		public Integer getUserid() {
			return userid;
		}

		public void setUserid(Integer userid) {
			this.userid = userid;
		}

		public Integer getAmount() {
			return amount;
		}

		public void setAmount(Integer amount) {
			this.amount = amount;
		}

		public Object getTime() {
			return time;
		}

		public void setTime(Object time) {
			this.time = time;
		}

		public Integer getIsdelete() {
			return isdelete;
		}

		public void setIsdelete(Integer isdelete) {
			this.isdelete = isdelete;
		}

		public String getBy1() {
			return by1;
		}

		public void setBy1(String by1) {
			this.by1 = by1;
		}

		public String getBy2() {
			return by2;
		}

		public void setBy2(String by2) {
			this.by2 = by2;
		}

		public String getBy3() {
			return by3;
		}

		public void setBy3(String by3) {
			this.by3 = by3;
		}

		@Override
		public String toString() {
			return "Shoppingcar [id=" + id + ", productid=" + productid + ", userid=" + userid + ", amount=" + amount
					+ ", time=" + time + ", isdelete=" + isdelete + "]";
		}

		public Shoppingcar(Integer id, Integer productid, Integer userid, Integer amount, Object time,
				Integer isdelete) {
			super();
			this.id = id;
			this.productid = productid;
			this.userid = userid;
			this.amount = amount;
			this.time = time;
			this.isdelete = isdelete;
		}

		public Shoppingcar(Integer productid, Integer userid, Integer amount, Object time, Integer isdelete) {
			super();
			this.productid = productid;
			this.userid = userid;
			this.amount = amount;
			this.time = time;
			this.isdelete = isdelete;
		}

		public Shoppingcar() {
			super();
		}
	    
}
